#基础镜像，如果本地仓库没有，会从远程仓库拉取 8-jdk-alpine
FROM openjdk:8-jdk-font-time
#ENV JAVA_OPTS="$JAVA_OPTS"
#暴露端口
EXPOSE 8903
#编译后的jar包copy到容器中创建到目录内
ADD zeiet-file.jar /zeiet-file.jar
#指定容器启动时要执行的命令(, "$JAVA_OPTS")
ENTRYPOINT ["java","-Xms256m","-Xmx4g","-jar","/zeiet-file.jar","-Dfile.encoding=UTF-8"]